﻿/*------------------------------------------------
// File Description: DistributeCodeOperateTask DataBase Entity
// Author:			 汪亮
// Create Time:		 2020-03-22 17:19:12
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.MES.DataAccess.Entity
{
    /// <summary>
    /// 条码操作任务
    /// </summary>
    [Table(nameof(DistributeCodeOperateTask))]
    public class DistributeCodeOperateTask : BaseEntity
    {

        #region Public Property

        ///<Summary>
        /// 操作类型
        ///</Summary>
        public Enum.DistributeCodeOperateType OperateType { get; set; }

        ///<Summary>
        /// 操作人
        ///</Summary>
        public int Operator { get; set; }
        #endregion
    }

    public partial class MESContext
    {
        /// <summary>
        /// 条码操作任务
        /// </summary>
        public virtual DbSet<DistributeCodeOperateTask> DistributeCodeOperateTasks { get; set; }
    }
}